home *** CD-ROM | disk | FTP | other *** search
/ TPUG - Toronto PET Users Group / TPUG Users Group CD / TPUG Users Group CD.iso / MSDOS / (m)aaj / SELPRTSN.DOC < prev    next >
Text File  |  1987-02-03  |  5KB  |  96 lines

  1.                             Selective *Print* Screen
  2.                                    Version 1.3
  3.              Normally, shift PrtSc (print screen) prints out the
  4.          entire screen.  I usually
  5.          only need about five to six lines of maybe fifteen to twenty
  6.          characters each to be printed.  Waiting for the entire screen
  7.          to be printed seems like an eternity.  One day, I decided to
  8.          do something about it.  I wrote SPS.COM which replaces the
  9.          BIOS print screen procedure.
  10.              SPS when executed from DOS displays a brief message,
  11.          initializes a pointer, goes into hibernation then gives
  12.          control back to DOS.  In order to revive, or activate, SPS
  13.          after this, a shift key must be pressed along with the PrtSc
  14.          (also "*") key which is how you would normally print the
  15.          screen.
  16.              When SPS is first activated, it sets the cursor to the
  17.          upper left-hand corner and displays a "L" in the lower right-
  18.          hand corner which stands for "upper Left corner."  This means
  19.          that SPS is asking you where the print range starts.  To tell
  20.          it, use the arrow keys to move the cursor to the proper spot.
  21.          When there, press return.  SPS then displays a "R" for "lower
  22.          Right corner" and waits for you tell it where the print range
  23.          ends.  The upper left corner and the lower right point to a
  24.          box range that you want printed.  The following is some
  25.          sample screen data:
  26.           
  27.                   This is some text that could be on your
  28.                   screEn that you want printed for some
  29.                   reason. But you don't want all of it
  30.                   printed, so the BIOS print screen function
  31.                   cannot be used. But SPS can!
  32.           
  33.          Let's say you pointed to the second "e" of the word "screen"
  34.          from the second line (it's capitalized) for the upper left
  35.          corner, and the exclamation mark (!) on the fifth line for
  36.          the lower right corner of the print range.  The following
  37.          would be printed by SPS:
  38.           
  39.          En that you want printed
  40.          on. But you don't want a
  41.          ted, so the BIOS print s
  42.          ot be used. But SPS can!
  43.  
  44.              Of course this is a poor example because what is printed
  45.          out is meaningless, but there are many times when this is
  46.          very useful.
  47.              SPS works perfectly from an AUTOEXEC.BAT file.  In fact I
  48.          suggest you added SPS to yours if you like it.  If you do not
  49.          want to see its banner message, insert "SPS >NUL" in the
  50.          AUTOEXEC file.  SPS will be loaded and function as before,
  51.          minus the banner message.
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.          -------------------------------------------------------------
  59.          Left arrow:  Moves the cursor one character left on the
  60.                        current line, if possible.
  61.          Right arrow: Moves the cursor one character right on the
  62.                        current line, if possible.
  63.          Up arrow:    Moves the cursor one line up, if possible.
  64.          Down arrow:  Moves the cursor one line down, if possible.
  65.          Home:      Jumps the cursor to the beginning of the current
  66.                      line.
  67.          End:       Jumps the cursor to the end of the current line.
  68.          Page Up:   Jumps the cursor to the top of the current column.
  69.          Page Down: Jumps the cursor to the bottom of the current
  70.                      column.
  71.          CTRL-Right
  72.           arrow:    Jumps the cursor to the beginning of the next
  73.                     word.
  74.          CTRL-Left
  75.           arrow:    Jumps the cursor to end beginning of the previous
  76.                      word.
  77.          P:         Prints out the entire screen (same as BIOS
  78.                      routine).
  79.          ESCape:    Exits SPS without printing anything.
  80.  
  81.               Upon a normal exit, SPS restores the lower right-hand
  82.          character and puts the cursor back where it was when SPS was
  83.          revived.  In an abnormal exit, SPS leaves a character in that
  84.          corner to inform you of an error.  With version 1.3, there is
  85.          only one error condition:  a printer error.  When this
  86.          occurs a "P" will be left in the corner.  SPS uses the BIOS
  87.          for the printing and if a printer error occurs it takes the
  88.          BIOS about 30 seconds to time-out.  So in event of a printer
  89.          error sit-tight for half a minute.
  90.  
  91.          Changes from version 1.2 to 1.3:
  92.           -An illegal range can no longer be specified.
  93.           -Block to be printed is highlighted as it is specified.
  94.           -Bug when a printer error occurs has been fixed.
  95.  
  96.